projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39e848c
)
notebook: Remove redundant variable declarations
author
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 17 Oct 2016 10:43:06 +0000
(11:43 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 17 Oct 2016 10:44:11 +0000
(11:44 +0100)
We're already declaring notebook and priv at the top of the function,
and assigning them to the same values.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index e48b0f19ee3f37aca2c74b43050f299157839553..ab84b0140b38304fb4135391b725622033921569 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-3579,8
+3579,6
@@
gtk_notebook_drag_end (GtkWidget *widget,
if (priv->rootwindow_drop)
{
- GtkNotebook *notebook = GTK_NOTEBOOK (widget);
- GtkNotebookPrivate *priv = notebook->priv;
GtkNotebook *dest_notebook = NULL;
gint x, y;